package com.echat.serviceapigateway.security.model;

import com.fasterxml.jackson.annotation.JsonIgnore;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.persistence.Transient;

/**
 * Created by chenmohan on 2018/08/30
 *
 * @description
 */
@Getter
@Setter
@ToString(exclude = {"page","rows"})
public class BaseModel {

    @Transient
    @JsonIgnore
    protected Integer page = 1;

    @Transient
    @JsonIgnore
    protected Integer limit = 5;

    @Transient
    @JsonIgnore
    protected String orderType;

    @Transient
    @JsonIgnore
    protected String isAsc = "DESC";
}
